<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>index</title>
    <style>
        header div,
        .main_body div,
        footer div{
            display: inline-block;
            width: 100px;
            height: 100px;
            border: 1px solid red;
        }
    </style>
</head>
<body>
<header id="header">
    <div class="fcs"></div>
    <div class="fcs"></div>
    <div class="fcs"></div>
    <div class="fcs"></div>
    <div class="fcs"></div>
</header>
<div class="main_body" id="body">
    <div class="fcs"></div>
    <div class="fcs"></div>
    <div class="fcs"></div>
    <div class="fcs"></div>
    <div class="fcs"></div>
    <div class="fcs"></div>
    <div class="fcs"></div>

</div>
<footer class="" id="footer">
    <div class="fcs"></div>
    <div class="fcs"></div>
    <div class="fcs"></div>
    <div class="fcs"></div>
</footer>

<script src="../dist/focus_result.js"></script>
<script>
    window.onload = function() {
        focusCtrl.mainInit({
            "config" : {
                backurl : "a",
                firstFocus: 'header,0'
            },
            "header" : {
                column: 5,
                bottom : "body,0"
            },
            "body" : {
                column: 7,
                top: "header,0",
                bottom: "footer,0"
            },
            "footer" : {
                column: 4,
                top: "body,0",
                click: function(){
                    this.css("background",'red')
                },
                focus: function(){
                    this.css("background",'blue')
                },
                blur: function(){
                    this.css("background",'white')
                }
            }
        });
    };
</script>
</body>

</html>